var express = require('express')
const RightsController = require('../controller/RightsController')
var RightsRouter = express.Router()
RightsRouter.get("/admin/rights",RightsController.getList)
RightsRouter.put("/admin/rights",RightsController.updateList)
RightsRouter.delete("/admin/rights",RightsController.deleteList)
module.exports = RightsRouter